/*
 * @Author: Leo.wang wanglizhigs@163.com
 * @Date: 2023-10-18 22:31:33
 * @LastEditors: Leo.wang wanglizhigs@163.com
 * @LastEditTime: 2023-10-19 14:51:55
 * @FilePath: /three-react/src/main.tsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import React from 'react'
import ReactDOM from 'react-dom/client'

import './index.css'
import { ConfigProvider } from 'antd';
import zhCN from 'antd/locale/zh_CN';
import { RouterProvider } from 'react-router-dom';
import routes from './layout/routes';


ReactDOM.createRoot(document.getElementById('root')!).render(
  <React.StrictMode>
    <ConfigProvider locale={zhCN}>
      <RouterProvider router={routes}> </RouterProvider>
    </ConfigProvider>
  </React.StrictMode>,
)
